@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?if4ku8');
    src: url('../fonts/icomoon.eot?if4ku8#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?if4ku8') format('truetype'), url('../fonts/icomoon.woff?if4ku8') format('woff'), url('../fonts/icomoon.svg?if4ku8#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


/* 版心 */

.w {
    width: 1200px;
    margin: 0 auto;
}


/* 红色字体 */

.red-style {
    color: #cc0033;
}


/* 快捷导航 */

.shortcut {
    height: 31px;
    line-height: 31px;
    background-color: #e3e4e5;
}

.w {
    line-height: 31px;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.shortcut ul li {
    float: left;
}


/* 右侧盒子 */


/* 选择偶数小li */

.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666;
    margin: 9px 15px;
}


/* 字体小图标 */

.arrow-icon::after {
    font-family: 'icomoon';
    content: '\ea43';
    margin-left: 6px;
}


/* heaer头部 */

.header {
    position: relative;
    height: 105px;
}

.logo {
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
}

.logo a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    /* 京东的做法 文字大小设置0 */
    /* 淘宝做法：text-indent：-9999px 然后overflow：hidden； */
    font-size: 0;
}


/* 列表页秒杀模块 */

.sk {
    position: absolute;
    left: 190px;
    top: 40px;
    border-left: 1px solid pink;
    padding: 3px 0 0 14px;
    overflow: hidden;
}


/* 搜索模块 */

.search {
    position: absolute;
    left: 346px;
    top: 25px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
    overflow: hidden;
    /* box-sizing: border-box; */
}

.search input {
    float: left;
    width: 454px;
    height: 36px;
    padding: 10px;
    border: 0;
}

.search button {
    position: absolute;
    top: -1px;
    right: 0;
    width: 84px;
    height: 36px;
    line-height: 36px;
    background-color: #b1191a;
    font-size: 16px;
    color: #fff;
    border: 0;
}

.hotwords {
    position: absolute;
    top: 60px;
    left: 346px;
    overflow: hidden;
}

.hotwords a {
    margin: 0 10px;
}

.shopcar {
    position: absolute;
    right: 60px;
    top: 25px;
    width: 140px;
    height: 35px;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
    line-height: 35px;
    text-align: center;
}

.shopcar::before {
    content: '\e93a';
    font-family: 'icomoon';
    margin-right: 5px;
    color: #d94f4f;
}

.shopcar::after {
    content: '\ea42';
    font-family: 'icomoon';
    margin-left: 10px;
}

.count {
    position: absolute;
    top: -5px;
    left: 105px;
    line-height: 14px;
    color: #fff;
    height: 14px;
    background-color: #e60012;
    border-radius: 7px 7px 7px 0;
    padding: 0 5px;
}

.nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
}

.dropdown {
    float: left;
    width: 210px;
    height: 45px;
    background-color: #b1191a;
}

.dropdown .dt {
    font-size: 18px;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    line-height: 45px;
}

.dropdown .dd {
    /* display: none; */
    width: 210px;
    height: 465px;
    background-color: #c81623;
    margin-top: 2px;
}

.dropdown .dd ul li {
    height: 31px;
    line-height: 31px;
    margin-left: 2px;
    padding-left: 10px;
    /* border: 1px solid pink; */
}

.dropdown .dd ul li:hover {
    background-color: #fff;
}

.dropdown .dd ul li a {
    font-size: 14px;
    color: #fff;
}

.dropdown .dd ul li:hover a {
    color: #c81623;
}

.dropdown .dd ul li::after {
    float: right;
    color: #fff;
    margin-right: 11px;
    content: '\ea42';
    font-family: 'icomoon';
}


/* .dropdown dt {} */

.navitems {
    float: left;
}

.navitems ul li {
    float: left;
}

.navitems ul {
    margin-left: 30px;
}

.navitems ul li a {
    display: block;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    padding: 0 25px;
}